package com.asia.bomc.workflow.dao;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
public interface IBaseDao<T, PK >{
	public  void create(Object entity);
	public 	void delete(Object entity);
	public  void update(T entity);
	public T findById(Class<T> entityClass, PK pk);
	public List<T>findByJpql(Class<T> entityClass,String jpql,Map<String,Object>critals);
}
